File IO File Operations
Name Start Address Type Access
FILE_IO_OPEN 60620 UINT16 W
FILE_IO_CLOSE 60621 UINT16 W
FILE_IO_WRITE 60654 BYTE W
FILE_IO_READ 60656 BYTE R
FILE_IO_DELETE 60622 UINT16 W
FILE_IO_ATTRIBUTES 60623 UINT16 R
FILE_IO_SIZE_BYTES 60628 UINT32 R
FILE_IO_OPEN
- Address: 60620
Write any value to this register to open a file. Must first designate which file to open by writing to FILE_IO_PATH_WRITE_LEN_BYTES then FILE_IO_PATH_WRITE.
  • Data type: UINT16  (type index = 0)
  • Write-only
  • T7:
FILE_IO_CLOSE
- Address: 60621
Write any value to this register to close the open file.
  • Data type: UINT16  (type index = 0)
  • Write-only
  • T7:
FILE_IO_WRITE
- Address: 60654
Unimplemented. This register is a buffer.
  • Data type: BYTE  (type index = 99)
  • Write-only
  • This register is a Buffer Register
  • T7:
FILE_IO_READ
- Address: 60656
Read the contents of a file. Must first write to FILE_IO_OPEN. Size of the file (in bytes) determined by FILE_IO_SIZE_BYTES. This register is a buffer. Underrun behavior - throws an error.
  • Data type: BYTE  (type index = 99)
  • Read-only
  • This register is a Buffer Register
  • T7:
FILE_IO_DELETE
- Address: 60622
Write any value to this register to delete the active file. Must first designate which file to delete by writing to FILE_IO_PATH_WRITE_LEN_BYTES then FILE_IO_PATH_WRITE.
  • Data type: UINT16  (type index = 0)
  • Write-only
  • T7:
FILE_IO_ATTRIBUTES
- Address: 60623
Used to differentiate files from directories/folders. Bitmask: Bit0: Reserved, Bit1: Reserved, Bit2: Reserved, Bit3: Reserved, Bit4: 1=Directory, Bit5: 1=File.
  • Data type: UINT16  (type index = 0)
  • Read-only
  • T7:
FILE_IO_SIZE_BYTES
- Address: 60628
The size of the file in bytes. Directories have 0 size.
  • Data type: UINT32  (type index = 1)
  • Read-only
  • T7: